package kernel_gui.gui.generic.graphic;

import java.awt.AWTError;
import java.awt.Dimension;
import java.awt.Point;
import java.awt.Rectangle;
import java.awt.Toolkit;

import kernel_gui.gui.generic.BackGroundPanel;
import kernel_gui.gui.generic.MillionaireFrame;

/*
 * LoginFrame.java
 *
 * Created on Jan 10, 2012, 3:12:08 PM
 */

/**
 *
 * @author Yoyo
 */
@SuppressWarnings("serial")
public abstract class CreateQuestion extends MillionaireFrame {

    /** Creates new form LoginFrame */
    public CreateQuestion() {
    	super(true);
        initComponents();
    }

    @SuppressWarnings({ "unchecked", "rawtypes" })
    private void initComponents() {

        LevelButtonGroup = new javax.swing.ButtonGroup();
        LayeredPane = new javax.swing.JLayeredPane();
        MainPanel = new javax.swing.JPanel();
        QuestionsPanel = new javax.swing.JPanel();
        dynamicButton = new javax.swing.JButton();
        QuestionLabel = new javax.swing.JLabel();
        SubmitButton = new javax.swing.JButton();
        choosenPatternComboBox = new javax.swing.JComboBox();
        RightAnswerLabelHeader1 = new javax.swing.JLabel();
        rightAnswerPanel = new javax.swing.JPanel();
        RightAnswerLabel = new javax.swing.JLabel();
        LevelPanel = new javax.swing.JPanel();
        EasyRadioButton = new javax.swing.JRadioButton();
        MediumRadioButton = new javax.swing.JRadioButton();
        HardRadioButton = new javax.swing.JRadioButton();
        Header1 = new javax.swing.JLabel();
        Header2 = new javax.swing.JLabel();
        BackButton = new javax.swing.JButton();
        LoadingPanel = new javax.swing.JPanel();
        SpinningDollarLabel = new javax.swing.JLabel();
        TopMessageLabel = new javax.swing.JLabel();
        TopMessageLabel1 = new javax.swing.JLabel();

        /* My init code */
        int frameWidth = 1000;
        int frameHeight = 274;
        this.setBounds(new Rectangle(new Dimension(frameWidth, frameHeight)));
        this.setIconImage(new javax.swing.ImageIcon("images/Green-Dollar-icon.png").getImage());
    	this.setTitle("Control Panel - Questions - Create Question");
    	SpinningDollarLabel.setIcon(new javax.swing.ImageIcon("images/dollar-spinning.gif")); // NOI18N
        LayeredPane.setOpaque(false);
        LoadingPanel.setVisible(false);
        LoadingPanel.setOpaque(false);
        setResizable(false);
        try{
        	Toolkit tk = Toolkit.getDefaultToolkit();
        	int framePosWidth = tk.getScreenSize().width / 2 - frameWidth / 2;
        	int framePosHeight = tk.getScreenSize().height / 2 - frameHeight / 2;
        	Point p = new Point(framePosWidth, framePosHeight);
        	this.setLocation(p);
        }catch(AWTError e){
        	/*Nothing to do*/
        }
        BGPanel = new BackGroundPanel(frameWidth, frameHeight);
        MainPanel = new BackGroundPanel(frameWidth, frameHeight);
        /* end */

        BGPanel.setPreferredSize(new java.awt.Dimension(630, 463));

        LayeredPane.setOpaque(true);
        LayeredPane.setPreferredSize(new java.awt.Dimension(630, 463));

        MainPanel.setMinimumSize(new java.awt.Dimension(620, 463));
        MainPanel.setOpaque(false);
        MainPanel.setPreferredSize(new java.awt.Dimension(620, 463));

        QuestionsPanel.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 3, true));
        QuestionsPanel.setOpaque(false);

        dynamicButton.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        dynamicButton.setText("Choose Question Parameter & Right Answer");
        dynamicButton.setToolTipText("Pressing here will submit you answer!");
        dynamicButton.setOpaque(false);
        dynamicButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                dynamicButtonActionPerformed(evt);
            }
        });

        QuestionLabel.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        QuestionLabel.setText("<html>1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234<br>1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234<br>1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234<br>1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234<br>1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234<br></html>");

        SubmitButton.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        SubmitButton.setText(">>Submit");
        SubmitButton.setToolTipText("Leave the game with the money that you have");
        SubmitButton.setOpaque(false);
        SubmitButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                SubmitButtonActionPerformed(evt);
            }
        });

        choosenPatternComboBox.setFont(new java.awt.Font("Tahoma", 0, 14)); // NOI18N
        choosenPatternComboBox.setModel(new javax.swing.DefaultComboBoxModel(new String[] {}));
        choosenPatternComboBox.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                choosePatternComboBoxActionPerformed(evt);
            }
        });

        RightAnswerLabelHeader1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        RightAnswerLabelHeader1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        RightAnswerLabelHeader1.setText("Choose A Question Pattern:");

        javax.swing.GroupLayout QuestionsPanelLayout = new javax.swing.GroupLayout(QuestionsPanel);
        QuestionsPanel.setLayout(QuestionsPanelLayout);
        QuestionsPanelLayout.setHorizontalGroup(
            QuestionsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(QuestionsPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(QuestionsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(QuestionsPanelLayout.createSequentialGroup()
                        .addComponent(RightAnswerLabelHeader1)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(choosenPatternComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, 649, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(QuestionLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(QuestionsPanelLayout.createSequentialGroup()
                        .addComponent(dynamicButton, javax.swing.GroupLayout.PREFERRED_SIZE, 730, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(SubmitButton)))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        QuestionsPanelLayout.setVerticalGroup(
            QuestionsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(QuestionsPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(QuestionsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(RightAnswerLabelHeader1)
                    .addComponent(choosenPatternComboBox, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(QuestionLabel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(QuestionsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(SubmitButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(dynamicButton, javax.swing.GroupLayout.DEFAULT_SIZE, 35, Short.MAX_VALUE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        rightAnswerPanel.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true));
        rightAnswerPanel.setOpaque(false);

        RightAnswerLabel.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        RightAnswerLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        RightAnswerLabel.setText("123456789012345678901234567890123456789012345678901234567890");

        javax.swing.GroupLayout rightAnswerPanelLayout = new javax.swing.GroupLayout(rightAnswerPanel);
        rightAnswerPanel.setLayout(rightAnswerPanelLayout);
        rightAnswerPanelLayout.setHorizontalGroup(
            rightAnswerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(rightAnswerPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(RightAnswerLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 854, Short.MAX_VALUE)
                .addContainerGap())
        );
        rightAnswerPanelLayout.setVerticalGroup(
            rightAnswerPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(rightAnswerPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(RightAnswerLabel)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        LevelPanel.setBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true));
        LevelPanel.setOpaque(false);

        LevelButtonGroup.add(EasyRadioButton);
        EasyRadioButton.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        EasyRadioButton.setText("Easy");
        EasyRadioButton.setOpaque(false);
        EasyRadioButton.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        EasyRadioButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                EasyRadioButtonActionPerformed(evt);
            }
        });

        LevelButtonGroup.add(MediumRadioButton);
        MediumRadioButton.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        MediumRadioButton.setSelected(true);
        MediumRadioButton.setText("Medium");
        MediumRadioButton.setOpaque(false);
        MediumRadioButton.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        MediumRadioButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                MediumRadioButtonActionPerformed(evt);
            }
        });

        LevelButtonGroup.add(HardRadioButton);
        HardRadioButton.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        HardRadioButton.setText("Hard");
        HardRadioButton.setOpaque(false);
        HardRadioButton.setHorizontalTextPosition(javax.swing.SwingConstants.RIGHT);
        HardRadioButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                HardRadioButtonActionPerformed(evt);
            }
        });

        Header1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        Header1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Header1.setText("Question");

        Header2.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        Header2.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        Header2.setText("Level");

        javax.swing.GroupLayout LevelPanelLayout = new javax.swing.GroupLayout(LevelPanel);
        LevelPanel.setLayout(LevelPanelLayout);
        LevelPanelLayout.setHorizontalGroup(
            LevelPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(LevelPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(LevelPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(LevelPanelLayout.createSequentialGroup()
                        .addGroup(LevelPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(Header1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 79, Short.MAX_VALUE)
                            .addComponent(Header2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 79, Short.MAX_VALUE))
                        .addContainerGap())
                    .addGroup(LevelPanelLayout.createSequentialGroup()
                        .addGroup(LevelPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(HardRadioButton, javax.swing.GroupLayout.DEFAULT_SIZE, 79, Short.MAX_VALUE)
                            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, LevelPanelLayout.createSequentialGroup()
                                .addComponent(MediumRadioButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED))
                            .addGroup(LevelPanelLayout.createSequentialGroup()
                                .addComponent(EasyRadioButton, javax.swing.GroupLayout.DEFAULT_SIZE, 71, Short.MAX_VALUE)
                                .addGap(8, 8, 8)))
                        .addGap(10, 10, 10))))
        );
        LevelPanelLayout.setVerticalGroup(
            LevelPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(LevelPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(Header1)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(Header2)
                .addGap(18, 18, 18)
                .addComponent(EasyRadioButton)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(MediumRadioButton)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(HardRadioButton)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        BackButton.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        BackButton.setText("Back");
        BackButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                BackButtonActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout MainPanelLayout = new javax.swing.GroupLayout(MainPanel);
        MainPanel.setLayout(MainPanelLayout);
        MainPanelLayout.setHorizontalGroup(
            MainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(MainPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(MainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(QuestionsPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(rightAnswerPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(MainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(MainPanelLayout.createSequentialGroup()
                        .addComponent(LevelPanel, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addGap(111, 111, 111))
                    .addGroup(MainPanelLayout.createSequentialGroup()
                        .addComponent(BackButton,101,101,101)
                        .addContainerGap())))
        );
        MainPanelLayout.setVerticalGroup(
            MainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(MainPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(MainPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addGroup(MainPanelLayout.createSequentialGroup()
                        .addComponent(LevelPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(BackButton, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addGroup(MainPanelLayout.createSequentialGroup()
                        .addComponent(QuestionsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(rightAnswerPanel, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(79, Short.MAX_VALUE))
        );

        MainPanel.setBounds(0, 0, 1010, 340);
        LayeredPane.add(LoadingPanel, javax.swing.JLayeredPane.DEFAULT_LAYER);
        LayeredPane.add(MainPanel, javax.swing.JLayeredPane.DEFAULT_LAYER);

        LoadingPanel.setOpaque(false);
        LoadingPanel.setPreferredSize(new java.awt.Dimension(620, 463));

        TopMessageLabel.setBackground(new java.awt.Color(51, 102, 0));
        TopMessageLabel.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        TopMessageLabel.setForeground(new java.awt.Color(51, 204, 0));
        TopMessageLabel.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        TopMessageLabel.setText("Loading");
        TopMessageLabel.setOpaque(true);

        TopMessageLabel1.setBackground(new java.awt.Color(51, 102, 0));
        TopMessageLabel1.setFont(new java.awt.Font("Tahoma", 1, 14)); // NOI18N
        TopMessageLabel1.setForeground(new java.awt.Color(51, 204, 0));
        TopMessageLabel1.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        TopMessageLabel1.setText("Please wait");
        TopMessageLabel1.setOpaque(true);

        javax.swing.GroupLayout LoadingPanelLayout = new javax.swing.GroupLayout(LoadingPanel);
        LoadingPanel.setLayout(LoadingPanelLayout);
        LoadingPanelLayout.setHorizontalGroup(
            LoadingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(LoadingPanelLayout.createSequentialGroup()
                .addGap(398, 398, 398)
                .addGroup(LoadingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.CENTER)
                    .addComponent(SpinningDollarLabel)
                    .addComponent(TopMessageLabel, javax.swing.GroupLayout.DEFAULT_SIZE, 100, Short.MAX_VALUE)
                    .addComponent(TopMessageLabel1))
                .addGap(421, 421, 421))
        );
        LoadingPanelLayout.setVerticalGroup(
            LoadingPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(LoadingPanelLayout.createSequentialGroup()
                .addGap(57, 57, 57)
                .addComponent(SpinningDollarLabel)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(TopMessageLabel)
                .addGap(18, 18, 18)
                .addComponent(TopMessageLabel1)
                .addContainerGap(63, Short.MAX_VALUE))
        );

        LoadingPanel.setBounds(0, 0, 910, 250);
        

        javax.swing.GroupLayout BGPanelLayout = new javax.swing.GroupLayout(BGPanel);
        BGPanel.setLayout(BGPanelLayout);
        BGPanelLayout.setHorizontalGroup(
            BGPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 1000, Short.MAX_VALUE)
            .addGroup(BGPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(BGPanelLayout.createSequentialGroup()
                    .addComponent(LayeredPane, javax.swing.GroupLayout.PREFERRED_SIZE, 1011, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
        );
        BGPanelLayout.setVerticalGroup(
            BGPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 277, Short.MAX_VALUE)
            .addGroup(BGPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(BGPanelLayout.createSequentialGroup()
                    .addComponent(LayeredPane, javax.swing.GroupLayout.PREFERRED_SIZE, 277, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(BGPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 1000, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(BGPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 274, javax.swing.GroupLayout.PREFERRED_SIZE)
        );

        pack();
    }// </editor-fold>

    protected abstract void dynamicButtonActionPerformed(java.awt.event.ActionEvent evt);                                            

    protected abstract void SubmitButtonActionPerformed(java.awt.event.ActionEvent evt);                                    

    protected abstract void choosePatternComboBoxActionPerformed(java.awt.event.ActionEvent evt);

    protected abstract  void BackButtonActionPerformed(java.awt.event.ActionEvent evt);

    protected abstract  void HardRadioButtonActionPerformed(java.awt.event.ActionEvent evt);

    protected abstract  void MediumRadioButtonActionPerformed(java.awt.event.ActionEvent evt);

    protected abstract  void EasyRadioButtonActionPerformed(java.awt.event.ActionEvent evt);

    protected javax.swing.JPanel BGPanel;
    protected javax.swing.JRadioButton EasyRadioButton;
    protected javax.swing.JRadioButton HardRadioButton;
    protected javax.swing.JLabel Header1;
    protected javax.swing.JLabel Header2;
    protected javax.swing.JLayeredPane LayeredPane;
    protected javax.swing.ButtonGroup LevelButtonGroup;
    protected javax.swing.JPanel LevelPanel;
    protected javax.swing.JRadioButton MediumRadioButton;
    protected javax.swing.JLabel QuestionLabel;
    protected javax.swing.JPanel QuestionsPanel;
    protected javax.swing.JButton SubmitButton;
    protected javax.swing.JLabel RightAnswerLabel;
    protected javax.swing.JLabel RightAnswerLabelHeader1;
    protected javax.swing.JLabel SpinningDollarLabel;
    protected javax.swing.JButton BackButton;
    protected javax.swing.JLabel TopMessageLabel;
    protected javax.swing.JLabel TopMessageLabel1;
    @SuppressWarnings("rawtypes")
	protected javax.swing.JComboBox choosenPatternComboBox;
    protected javax.swing.JButton dynamicButton;
    protected javax.swing.JPanel rightAnswerPanel;
}
